package com.yuandian.api.management.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yuandian.api.management.validate.UpdateFlag;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;


/**
 * 自定义专属指标字段表-实体
 * @author zfsn
 * @date 2023-6-7
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "自定义专属指标字段表", description = "")
@TableName("conf_custom_exclusive_indicator")
public class ConfCustomExclusiveIndicator extends BasePage<ConfCustomExclusiveIndicator> {

	/**
	 * null
	 */
	@NotNull(message = "id不能为空", groups = UpdateFlag.class)
	@ApiModelProperty(value = "", notes = "null")
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 *
	 */
	@ApiModelProperty(value = "指标名称", notes = "")
	private String indicatorName;

	/**
	 *
	 */
	@ApiModelProperty(value = "指标映射中文名称", notes = "")
	private String indicatorMappingName;

	/**
	 * 0：否  1：是
	 */
	@ApiModelProperty(value = "是否自定义展示列:", notes = "0：否  1：是")
	private Integer isShow;

	/**
	 *
	 */
	@ApiModelProperty(value = "创建人", notes = "")
	private String createBy;

	/**
	 *
	 */
	@ApiModelProperty(value = "创建时间", notes = "")
	private LocalDateTime createTime;

	/**
	 *
	 */
	@ApiModelProperty(value = "更新人", notes = "")
	private String updateBy;

	/**
	 *
	 */
	@ApiModelProperty(value = "更新时间", notes = "")
	private LocalDateTime updateTime;

	/**
	 *
	 */
	@ApiModelProperty(value = "备注", notes = "")
	private String remarks;

}